<p align="center" style="font-size: 14px; font-weight: bolder">Lista de Alunos</p>
<div id="listaAlunos">
    <div id="container" >
        <div class="demo_jui">
            <table width="836" border="0" cellpadding="0" cellspacing="1" class="display" id="ds_alunos"  >
                <thead class="titulo">
                    <tr >
                      <th width="106">Matr&iacute;cula</th>
                      <th width="378">Nome</th>
                      <th width="120">Data Nasc</th>
                      <th width="171">E-Mail</th>
                      <th width="55">&nbsp;</th>
                  </tr>
                </thead>
                <tbody>
                    <?php
                    
                    foreach ($queryComplete->getResult() as $value) {
                        
                        $dtNasc = explode('-',$value->getDataNascimento());
                        $dtNasc = $dtNasc[2].'/'.$dtNasc[1].'/'.$dtNasc[0];
                    ?>
                    <tr class="gradeA" style="font-size: 10px ; border: #000 1px solid " id="tr_<?php echo $value->getAlunoId(); ?>" >
                            <td><div align="center"><?php echo $value->getMatricula(); ?></div></td>
                            <td><div align="center"><?php echo utf8_encode($value->getNome()); ?></div></td>
                            <td><div align="center"><?php echo $dtNasc ?></div></td>
                            <td><div align="center"><?php echo utf8_encode($value->getEmail()); ?></div></td>
                            <td align="center"><a href="#" id="lnkAluno" onclick="showAluno(<?php echo $value->getAlunoId(); ?>)" ><img alt="" src="<?php echo base_url() . 'assets/images/ico_view.png' ?>" border="0" title="Visualizar" /></a></td>
                         </tr>

                    <?php  } ?>
                </tbody>
            </table>
      </div>
        <div class="spacer"></div>
    </div>
</div>
<script>
    $(document).ready(function() {
        oTable = $('#ds_alunos').dataTable({
            "bJQueryUI": true,
            "sPaginationType": "full_numbers"
        });
    } );

</script>